package cn.com.chengmandian.xh.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * C端系统-合作商分成账户
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("xh_reward_account")
@ApiModel(value = "XhRewardAccount对象", description = "C端系统-合作商分成账户")
public class XhRewardAccount implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("合作商ID")
    private Integer merchantsId;

    @ApiModelProperty("历史总分成")
    private BigDecimal allReward;

    @ApiModelProperty("已提现分成")
    private BigDecimal receiveReward;

    @ApiModelProperty("未提现分成")
    private BigDecimal balanceReward;

    @ApiModelProperty("租赁套餐分成比例")
    private BigDecimal rentRate;

    @ApiModelProperty("换电套餐分成比例")
    private BigDecimal chargeRate;

}
